package cn.ds.assets.module.assets.controller.admin.metadataModelTechnology.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;

/**
 * 元数据管理-元模型-技术属性 Excel VO
 *
 * @author admin
 */
@Data
public class BaseMetadataModelTechnologyExcelVO {

    @ExcelProperty("序号")
    private Integer sort;

    @ExcelProperty("属性名称")
    private String attrName;

    @ExcelProperty("属性描述")
    private String attrDesc;

    @ExcelProperty("值域,module_type字段值为2,3时必填")
    private String range;

    @ExcelProperty("是否必填,0:否,1:是")
    private Boolean required;

    @ExcelProperty("是否只读,0:否,1:是")
    private Boolean readOnly;

    @ExcelProperty("创建人")
    private Long createBy;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @ExcelProperty("更新人")
    private Long updateBy;

    @ExcelProperty("元模型主键ID,关联assets_metadata_model_base表id字段")
    private Long modelId;

    @ExcelProperty("主键ID")
    private Long id;

    @ExcelProperty("组件类型,1.文本框,2.单选下拉框,3.复选下拉框,4.日期选择器,5.文件上传,6.复选搜索框,7.表格,8.模型")
    private Byte moduleType;

}
